<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<div>
    <div>
        <ul>
            <il>
                <div  th:if="${session.USER}" th:object="${session.USER}">
                    <span th:text="*{name}"></span>
                </div>
                <div th:if="!${session.USER}">
                    <a href="login.html">请登录</a>
                    <a href="submit.html">免费注册</a>
                </div>

            </il>
            <il>
                <div><a href="order.html">
                    我的淘宝
                </a></div>
            </il>
        </ul>
    </div>
</div>
</body>
</html>